import request from '@/utils/request'
// 注册接口
export const registerAPI = (data) => {
  return request({ url: '/api/register', method: 'post', data })
}
// 登录接口
export const loginAPI = (data) => {
  return request({ url: '/api/login', method: 'post', data })
}

export const initAPI = () => {
  return request({ url: '/init/data' })
}
